module.exports = config = {
  DATABASE: {
    database: 'MyBlog',
    user: 'root',
    password: 'root',
    options: {
      host: 'localhost', // 连接的 host 地址
      dialect: 'mariadb', // 连接到 mysql
      pool: {
        max: 5,
        min: 0,
        acquire: 30000,
        idle: 10000
      },
      define: {
        timestamps: false, // 默认不加时间戳
        freezeTableName: true // 表名默认不加 s
      },
      timezone: '+08:00'
    }
  }
}


